.active () {
  background: rgba(0, 0, 0, 0.07);
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  transition: background-color 0.2s;
  -webkit-border-radius: 3px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 3px;
  -moz-background-clip: padding;
  border-radius: 3px;
  background-clip: padding-box;
}

// 一级菜单和高级功能菜单的高度
@menu-height: 34px;

.sidebar {
  li {
    margin-bottom: 2px;
    li {
      .disabled {
        color: #ccc;
      }
    }
    &.expand .icon-arrow {
      transform: rotate(90deg);
    }
    strong {
      position: relative;
      .icon-arrow {
        width: 16px !important;
        height: 16px;
        line-height: 1;
        position: absolute;
        top: 50%;
        margin-top: -8px;
        right: 4px;
        transition: transform 150ms;
      }
      a {
        display: block;
        height: @menu-height;
        line-height: @menu-height;
        color: #FFF;
        padding: 0 10px;
        margin-top: 2px;
        cursor: pointer !important;
      }
      &:hover {
        a {
          .active();
        }
      }
    }
  }
  li.active {
    strong a {
      .active();
    }
  }
  .menu-group {
    ul {
      display: none;
    }
    &.expand ul {
      display: block;
    }
  }
  .advanced {
    display: block;
    height: @menu-height;
    line-height: @menu-height;
    color: #FFF;
    padding-left: 10px;
    margin-top: 2px;
    .iconfont {
      float: left;
      font-size: 16px;
      width: 24px;
      zoom: 1;
      filter: alpha(opacity=50);
      -webkit-opacity: 0.5;
      -moz-opacity: 0.5;
      opacity: 0.5;
      font-weight: normal;
    }
    &.active,
    &:hover {
      .active;
    }
  }
}

.upgrade-modal {
  .dialog-content {
    min-width: 380px;
  }
}
